package com.leyou.httpdemo;

import com.leyou.httpdemo.pojo.Student;

import java.util.Set;

/**
 * @Author: taft
 * @Date: 2018-9-29 12:18
 */
public class Test {
    public static void main(String[] args) {

        Student student = new Student();

        student.setId("10086");
        student.setName("ldh");
        student.setAge(50);


        System.out.println(student.hashCode());

        try {
            Student student1 = (Student) student.clone();
            System.out.println(student1.hashCode());

        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }


    }
}
